<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	/* 隐藏全局滚动条（H5、App） */
	page::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}
	page {
		-ms-overflow-style: none; /* IE 10+ */
		scrollbar-width: none; /* Firefox */
	}
	
	/* 隐藏所有按钮的黑色边框 */
	button, button:focus, button:active, button:hover {
		outline: none !important;
		border: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-appearance: none !important;
		appearance: none !important;
	}
	
	/* 针对 uni-app 的按钮 */
	.uni-button, .uni-btn {
		outline: none !important;
		border: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-appearance: none !important;
		appearance: none !important;
	}
	
	/* 针对所有可能的按钮元素 */
	[role="button"], input[type="button"], input[type="submit"] {
		outline: none !important;
		border: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-appearance: none !important;
		appearance: none !important;
	}
</style>
